﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="AjaxShowCase_Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../Scripts/JQuery.js" type="text/javascript"></script>
    <script type="text/javascript">




        function amReady(e) {
            alert('Hello JQuery');
        }


//        //Id reference
//        $('#dvD').ready(function() { alert('dvd') });
//        $('#dvC').ready(function() { alert('dvc') });
//       
//        //Class reference
//        $('.a')
//        
//        //Element reference
//        $('div')
//        
//        //Attribute reference
//        $('input[id]')      //direct
//        $('input[id^=a]') //prefix
//        $('input[id$=1]')   //postfix
//        $('input[id=1][type=radio][value=ff] , div , span , #Radio1')//multiple attributes and multiple selections
//        
//        
//        $('input:button')
        
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    
    <div id='dvC'></div>
    <div id='dvD'></div>
    
    <input id='asdfsaksd' type='radio' />
    <input id='Radio1' type='checkbox' />
    <input type='checkbox' />
    
    <span class='a'></span>
    
    </form>
    
    

    
</body>
</html>
